import Cookie from "js-cookie";

export function getCookie(key: string) {
  return Cookie.get(key);
}

export function setCookie(
  key: string,
  value: any,
  config: Record<string, any>
) {
  Cookie.set(key, value, config);
}
